﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011CD RID: 4557
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SpaceZooMutateScRsp : IMessage<SpaceZooMutateScRsp>, IMessage, IEquatable<SpaceZooMutateScRsp>, IDeepCloneable<SpaceZooMutateScRsp>, IBufferMessage
	{
		// Token: 0x170039AF RID: 14767
		// (get) Token: 0x0600CC09 RID: 52233 RVA: 0x00225D37 File Offset: 0x00223F37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SpaceZooMutateScRsp> Parser
		{
			get
			{
				return SpaceZooMutateScRsp._parser;
			}
		}

		// Token: 0x170039B0 RID: 14768
		// (get) Token: 0x0600CC0A RID: 52234 RVA: 0x00225D3E File Offset: 0x00223F3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SpaceZooMutateScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170039B1 RID: 14769
		// (get) Token: 0x0600CC0B RID: 52235 RVA: 0x00225D50 File Offset: 0x00223F50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SpaceZooMutateScRsp.Descriptor;
			}
		}

		// Token: 0x0600CC0C RID: 52236 RVA: 0x00225D57 File Offset: 0x00223F57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooMutateScRsp()
		{
		}

		// Token: 0x0600CC0D RID: 52237 RVA: 0x00225D6C File Offset: 0x00223F6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooMutateScRsp(SpaceZooMutateScRsp other) : this()
		{
			this.kIGHMKFOHEJ_ = other.kIGHMKFOHEJ_;
			this.nHIBGKEMPND_ = other.nHIBGKEMPND_.Clone();
			this.jPIOEGDKMHO_ = ((other.jPIOEGDKMHO_ != null) ? other.jPIOEGDKMHO_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CC0E RID: 52238 RVA: 0x00225DD5 File Offset: 0x00223FD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooMutateScRsp Clone()
		{
			return new SpaceZooMutateScRsp(this);
		}

		// Token: 0x170039B2 RID: 14770
		// (get) Token: 0x0600CC0F RID: 52239 RVA: 0x00225DDD File Offset: 0x00223FDD
		// (set) Token: 0x0600CC10 RID: 52240 RVA: 0x00225DE5 File Offset: 0x00223FE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool KIGHMKFOHEJ
		{
			get
			{
				return this.kIGHMKFOHEJ_;
			}
			set
			{
				this.kIGHMKFOHEJ_ = value;
			}
		}

		// Token: 0x170039B3 RID: 14771
		// (get) Token: 0x0600CC11 RID: 52241 RVA: 0x00225DEE File Offset: 0x00223FEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<AHBLNFKHHNL> NHIBGKEMPND
		{
			get
			{
				return this.nHIBGKEMPND_;
			}
		}

		// Token: 0x170039B4 RID: 14772
		// (get) Token: 0x0600CC12 RID: 52242 RVA: 0x00225DF6 File Offset: 0x00223FF6
		// (set) Token: 0x0600CC13 RID: 52243 RVA: 0x00225DFE File Offset: 0x00223FFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PPBBLDEAFDG JPIOEGDKMHO
		{
			get
			{
				return this.jPIOEGDKMHO_;
			}
			set
			{
				this.jPIOEGDKMHO_ = value;
			}
		}

		// Token: 0x170039B5 RID: 14773
		// (get) Token: 0x0600CC14 RID: 52244 RVA: 0x00225E07 File Offset: 0x00224007
		// (set) Token: 0x0600CC15 RID: 52245 RVA: 0x00225E0F File Offset: 0x0022400F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600CC16 RID: 52246 RVA: 0x00225E18 File Offset: 0x00224018
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SpaceZooMutateScRsp);
		}

		// Token: 0x0600CC17 RID: 52247 RVA: 0x00225E28 File Offset: 0x00224028
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SpaceZooMutateScRsp other)
		{
			return other != null && (other == this || (this.KIGHMKFOHEJ == other.KIGHMKFOHEJ && this.nHIBGKEMPND_.Equals(other.nHIBGKEMPND_) && object.Equals(this.JPIOEGDKMHO, other.JPIOEGDKMHO) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CC18 RID: 52248 RVA: 0x00225E9C File Offset: 0x0022409C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KIGHMKFOHEJ)
			{
				num ^= this.KIGHMKFOHEJ.GetHashCode();
			}
			num ^= this.nHIBGKEMPND_.GetHashCode();
			if (this.jPIOEGDKMHO_ != null)
			{
				num ^= this.JPIOEGDKMHO.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CC19 RID: 52249 RVA: 0x00225F18 File Offset: 0x00224118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CC1A RID: 52250 RVA: 0x00225F20 File Offset: 0x00224120
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CC1B RID: 52251 RVA: 0x00225F2C File Offset: 0x0022412C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.nHIBGKEMPND_.WriteTo(ref output, SpaceZooMutateScRsp._repeated_nHIBGKEMPND_codec);
			if (this.jPIOEGDKMHO_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.JPIOEGDKMHO);
			}
			if (this.KIGHMKFOHEJ)
			{
				output.WriteRawTag(56);
				output.WriteBool(this.KIGHMKFOHEJ);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CC1C RID: 52252 RVA: 0x00225FB4 File Offset: 0x002241B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KIGHMKFOHEJ)
			{
				num += 2;
			}
			num += this.nHIBGKEMPND_.CalculateSize(SpaceZooMutateScRsp._repeated_nHIBGKEMPND_codec);
			if (this.jPIOEGDKMHO_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.JPIOEGDKMHO);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CC1D RID: 52253 RVA: 0x0022602C File Offset: 0x0022422C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SpaceZooMutateScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KIGHMKFOHEJ)
			{
				this.KIGHMKFOHEJ = other.KIGHMKFOHEJ;
			}
			this.nHIBGKEMPND_.Add(other.nHIBGKEMPND_);
			if (other.jPIOEGDKMHO_ != null)
			{
				if (this.jPIOEGDKMHO_ == null)
				{
					this.JPIOEGDKMHO = new PPBBLDEAFDG();
				}
				this.JPIOEGDKMHO.MergeFrom(other.JPIOEGDKMHO);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CC1E RID: 52254 RVA: 0x002260B9 File Offset: 0x002242B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CC1F RID: 52255 RVA: 0x002260C4 File Offset: 0x002242C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 42U)
				{
					if (num == 34U)
					{
						this.nHIBGKEMPND_.AddEntriesFrom(ref input, SpaceZooMutateScRsp._repeated_nHIBGKEMPND_codec);
						continue;
					}
					if (num == 42U)
					{
						if (this.jPIOEGDKMHO_ == null)
						{
							this.JPIOEGDKMHO = new PPBBLDEAFDG();
						}
						input.ReadMessage(this.JPIOEGDKMHO);
						continue;
					}
				}
				else
				{
					if (num == 56U)
					{
						this.KIGHMKFOHEJ = input.ReadBool();
						continue;
					}
					if (num == 80U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040051E9 RID: 20969
		private static readonly MessageParser<SpaceZooMutateScRsp> _parser = new MessageParser<SpaceZooMutateScRsp>(() => new SpaceZooMutateScRsp());

		// Token: 0x040051EA RID: 20970
		private UnknownFieldSet _unknownFields;

		// Token: 0x040051EB RID: 20971
		public const int KIGHMKFOHEJFieldNumber = 7;

		// Token: 0x040051EC RID: 20972
		private bool kIGHMKFOHEJ_;

		// Token: 0x040051ED RID: 20973
		public const int NHIBGKEMPNDFieldNumber = 4;

		// Token: 0x040051EE RID: 20974
		private static readonly FieldCodec<AHBLNFKHHNL> _repeated_nHIBGKEMPND_codec = FieldCodec.ForMessage<AHBLNFKHHNL>(34U, AHBLNFKHHNL.Parser);

		// Token: 0x040051EF RID: 20975
		private readonly RepeatedField<AHBLNFKHHNL> nHIBGKEMPND_ = new RepeatedField<AHBLNFKHHNL>();

		// Token: 0x040051F0 RID: 20976
		public const int JPIOEGDKMHOFieldNumber = 5;

		// Token: 0x040051F1 RID: 20977
		private PPBBLDEAFDG jPIOEGDKMHO_;

		// Token: 0x040051F2 RID: 20978
		public const int RetcodeFieldNumber = 10;

		// Token: 0x040051F3 RID: 20979
		private uint retcode_;
	}
}
